package study.async.springboot.support;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.client.RestTemplate;

@EnableAsync
@SpringBootApplication(scanBasePackages = "study.async.springboot")
public class SpringBootCfg {

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}
